import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //获取var损益分布图数据
  queryGainsAndLosses: (query) => api.get(`${config.interfaces.type3}valueatrisk1/pnlDistribution/`, query),
  //获取明细表数据
  queryDetailed: (query) => api.get(`${config.interfaces.type3}valueatrisk1/detail/`, query),
  //获取结果表数据
  queryresultCharts: (query) => api.get(`${config.interfaces.type3}valueatrisk1/summary/`, query),
};
